package com.alks.function.data.request.finance.salary;

import com.alks.entity.data.page.PageParam;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
public class PcSalaryNewListRequest extends PageParam {
    private String companyId;

    @ApiModelProperty("月份")
    private String yyyymm;

    @ApiModelProperty("部门名称")
    private List<String> deptNameList;

    @ApiModelProperty("工号")
    private String workerId;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("职务")
    private String position;

    @ApiModelProperty("工种")
    private String workType;

    @ApiModelProperty("计时/计件")
    private String calcType;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("进厂开始时间")
    private LocalDate inTime;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    @ApiModelProperty("进厂结束时间")
    private LocalDate outTime;

    @ApiModelProperty("开户名")
    private String bankCardUser;

    @ApiModelProperty("开户行")
    private String bankCardName;

    @ApiModelProperty(value = "银行卡号")
    private String bankCardId;

    @ApiModelProperty("身份证")
    private String idNo;

    @ApiModelProperty("1 实发<0")
    private Integer flag;
}
